<!DOCTYPE html>
<html lang="en">
<head>
  <meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no,width=device-width,height=device-height">
  <meta charset="UTF-8">
  <meta name="Author" content="haley">
  <meta name="Keywords" content="前端最常用的UI插件">
  <meta name="Description" content="最常用的UI插件">
  <script crossorigin="anonymous" integrity="sha384-6ePHh72Rl3hKio4HiJ841psfsRJveeS+aLoaEf3BWfS+gTF0XdAqku2ka8VddikM" src="https://lib.baomitu.com/jquery/1.11.3/jquery.min.js"></script>
  <link crossorigin="anonymous" integrity="sha384-pdapHxIh7EYuwy6K7iE41uXVxGCXY0sAjBzaElYGJUrzwodck3Lx6IE2lA0rFREo" href="https://lib.baomitu.com/twitter-bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet">
  <link href="haley.css" rel="stylesheet">
  <link href="../../css/page.css" rel="stylesheet">
  <link href="haley.css" rel="stylesheet">
  <script crossorigin="anonymous" integrity="sha384-pPttEvTHTuUJ9L2kCoMnNqCRcaMPMVMsWVO+RLaaaYDmfSP5//dP6eKRusbPcqhZ" src="https://lib.baomitu.com/twitter-bootstrap/3.3.5/js/bootstrap.min.js"></script>
  <script crossorigin="anonymous" integrity="sha384-8t+aLluUVnn5SPPG/NbeZCH6TWIvaXIm/gDbutRvtEeElzxxWaZN+G/ZIEdI/f+y" src="https://lib.baomitu.com/vue/2.6.10/vue.min.js"></script>
  <link href="../../imgs/favicon.ico" rel="shortcut icon">
  <script src="../../js/goToHome.js"></script>
  <script src="../../js/changeTitle.js"></script>
  <script src="../../js/page.js"></script>
  <title></title>
  <script>
    var data={
      title:'静态页面最基本的样式',
      content:{
        intro:{
          list:[
            {
              title:'使用说明：',
              className:'bs-callout-info',
              list:[
                {title:'基础配置：',content:'无'}
                ,{title:'需要的代码：',content:'从haley.css里面选配自己需要css表就可以'}
                ,{title:'如何使用：',content:'直接查看本文件源码'}
                ,{title:'简介：',content:'带i为important样式'}
              ],
              links:[
                {title:'下载样式文件',content:'./haley.rar'}
              ]
            }
            ,{
              title:'实现原理：',
              className:'bs-callout-warning',
              list:[
                {
                  title:'',
                  content:'无，纯属工作总结整理'
                }
              ]
            }
          ]
        },
        list:{
          list:[
            {
              title:'常用的0值配置',
              className:'panel-info',
              list:[
                {
                  title:'涉及的内容',
                  list:[
                    {title:'margin：',content:'上下左右 所有'}
                    ,{title:'padding：',content:'上下左右 所有'}
                    ,{title:'border：',content:'上下左右 所有'}
                    ,{title:'top right bottom left：',content:'上下左右 所有'}
                    ,{title:'height width line-height',content:''}
                  ]
                }
              ]
            }
            ,{
              title:'选配初始化之一：链接相关',
              className:'panel-info',
              list:[
                {
                  title:'涉及的内容',
                  list:[
                    {title:'标题：',content:'测试'}
                  ]
                }
              ]
            }
            ,{
              title:'选配初始化之一：链接相关',
              className:'panel-info',
              list:[
                {
                  title:'涉及的内容',
                  list:[
                    {title:'标题：',content:'测试'}
                  ]
                }
              ]
            }
            ,{
              title:'选配初始化之二：文字相关',
              className:'panel-info',
              list:[
                {
                  title:'涉及的内容',
                  list:[
                    {title:'标题：',content:'测试'}
                  ]
                }
              ]
            }
          ]
        }
      }
    };
  </script>
</head>
<body>
<div id="page">
  <div class="container">
    <h3 class="text-center">{{title}}</h3>
    <div class="bs-callout" :class="item.className" v-for="item in content.intro.list">
      <h4>{{item.title}}</h4>
      <ul>
        <li v-for="item2 in item.list"><b>{{item2.title}}</b>{{item2.content}}</li>
      </ul>
      <ul>
        <li v-for="item2 in item.links"><a :href="item2.content" target="_blank"><b>{{item2.title}}</b></a></li>
      </ul>
    </div>
  </div>
  <div class="container">
    <section class="panel " :class="item.className" v-for="item in content.list.list">
      <div class="panel-heading">{{item.title}}</div>
      <div class="panel-body">
        <div v-for="item2 in item.list">
          <h4>{{item2.title}}</h4>
          <ul>
            <li v-for="item3 in item2.list"><b>{{item3.title}}</b>{{item3.content}}</li>
          </ul>
        </div>
      </div>
    </section>
  </div>
</div>
<script>
  var page = new Vue({
    el: '#page',
    data: data
  });
</script>
<div class="container">
  <section class="panel panel-info">
    <div class="panel-heading">截串案例</div>
    <div class="panel-body">
      <div style="width:45%;border:1px solid #e93430;">
        <p class="text-over" style="max-width: 240px">这里是文章测试标题，含标点一共二十个字。这里是文章测试标题，含标点一共二十个字。</p>
        <p class="text-over2" style="max-width: 240px">这里是文章测试标题，含标点一共二十个字。这里是文章测试标题，含标点一共二十个字。</p>
        <p class="text-over3" style="max-width: 240px">这里是文章测试标题，含标点一共二十个字。这里是文章测试标题，含标点一共二十个字。</p>
      </div>
    </div>
  </section>
</div>
</body>
</html>
